package com.java.clients;

import com.java.param.ProductIdRemoveParam;
import com.java.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("collect-service")
public interface CollectClient {

    @PostMapping("/collect/product/remove")
    R productRemove(@RequestBody @Validated ProductIdRemoveParam productIdRemoveParam);
}
